package com.project.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Data
@RefreshScope
@Configuration
public class CommonConfig {

    @Value(value = "${name: lu}")
    private String name;

    @Value(value = "${na: lu}")
    private String na;

    @Value(value = "${value: lu}")
    private String value;


}
